import { Request, toast, alert } from '../../utils/util.js'
Page({
  data: {
    navList : [
      { name: '抽奖', url: '/pages/luckDrawManage/index'},
      { name: '砍价', url: '/pages/bargainManage/index' },
      { name: '代理设置', url: './agent/index' }
    ]
  },

  navTo (e) {
    let dataset = e.currentTarget.dataset
    wx.navigateTo({
      url : dataset.url
    })
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  }
})